package com.bl.org.domain;

import java.math.BigDecimal;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.bl.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 实体类：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称",width = 30)
    private String name;
    /**
     * 店铺座机
     */
    @Excel(name = "店铺店铺",width = 30)
    private String tel;
    /**
     * 入驻时间
     */
    @Excel(name = "入驻时间",width = 30,exportFormat="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd'"+"\r\n"+"'HH:mm:ss",timezone = "GMT+8")
    private Date registerTime = new Date();
    /**
     * 店铺状态：1待审核，2审核通过待激活，3激活成功，4驳回
     */
    @Excel(name = "店铺状态",width = 30)
    private Integer state;
    /**
     * 店铺地址
     */
    @Excel(name = "店铺地址",width = 30)
    private String address;
    /**
     * 店铺logo
     */
    @Excel(name = "店铺logo",width = 30)
    private String logo;
    /**
     * 店铺管理员ID
     */
    @Excel(name = "店长Id",width = 30)
    private Long adminId;

    private Employee admin;



}
